<?php
include '../include/functions.php';
  //set session save path
  session_save_path("../".$session_path);
  // Initialize a session. 
  session_start();
  session_destroy();
  	//Let user know if the session timed out     
	if($timeout)
	{
		echo "<h1>Your current current session has expired.<br />Please log back in to use site.</H1>";
		echo "<h3><a href=\"http://football.joshhughes.com/NFL\" target=\"_self\">Login</a></h3>";
	}
	//or the user logged off, go back to home.
	else
	{
	?>
		<SCRIPT language="JavaScript">
		<!--
		parent.location="http://football.joshhughes.com/NFL";
		//-->
		</SCRIPT>
	<?
	}
?>